package cn.luckdou.WeChat.model;

import java.util.HashMap;
import java.util.Map;

public class MoBanMessage {

    private String touser;
    private String template_id;
    private String url;
    private String topcolor;
    private Map<String,DataBean> data;

    public MoBanMessage(String openId) {
        this.touser=openId;
        this.template_id="lhap7gNgKHesOcJThQil70o7Mygrbc5QMWvp3oh1Uq8";
        this.url="http://text.dadoubk.cn";
        this.topcolor="#FF0000";
        this.data=new HashMap<>();
    }

    public String getTouser() {
        return touser;
    }

    public void setTouser(String touser) {
        this.touser = touser;
    }

    public String getTemplate_id() {
        return template_id;
    }

    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTopcolor() {
        return topcolor;
    }

    public void setTopcolor(String topcolor) {
        this.topcolor = topcolor;
    }

    public Map<String, DataBean> getData() {
        return data;
    }

    public void setData(Map<String, DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String value;

        private String color;

        public DataBean(String value, String color) {
            this.value = value;
            this.color = color;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }
    }
}
